import {SET_ROUTES} from "../mutation-types";

const permission = {
    state: {
        routes: [],
        addRoutes: [],
        defaultRoutes: [],
        topbarRouters: [],
        sidebarRouters: []
    },
    mutations: {
        [SET_ROUTES](state, routes) {
            state.addRoutes = routes

        }
    }
}
